@charset "UTF-8";

div{
    background-color: blueviolet;
    width: 200px;
    height: 200px;
    /*设置背景图片*/
    background-image: url("背景1.jpg");
    background-size: 500px 500px;
    background-repeat: repeat-y;
    background-position: 50% 50%;
}